package com.dalei.vdserver.model;

public final class ErrorCode {
	
	public static final int UNKNOW_ERROR = 0xffffff9d;
	
	public static final int INTERNAL_ERROR = 0xffffff9e;
	
	public static final class Login {
		
		public static final int USER_NOT_FOUND = 0xffffffff;
		
		public static final int INVALID_PASSWORD = 0xfffffffe;
		
		public static final int ALREADY_LOGGED_ON = 0xfffffffd;
	}
	
	public static final class RegisterDevice {
		
		public static final int NULL_IMEI = 0xffffffef;
		
		public static final int INVALID_IMEI = 0xffffffee;
		
		public static final int INVALID_IMEI_SV = 0xffffffed;
		
		public static final int INVALID_WLAN_MAC = 0xffffffec;

		public static final int ALREADY_REGISTERED = 0xffffffeb;
	}
	
	public static final class Session {
		
		public static final int DEVICE_NOT_REGISTERED = 0xffffffdf;
		
		public static final int USER_NOT_FOUND = 0xffffffde;
	}
	
	public static final class Detection {
		
		public static final int NULL_JSON = 0xffffffcf;
		
		public static final int CHECKSUM_ERROR = 0xffffffce;
		
		public static final int NULL_DETECTIONRESULT = 0xffffffcd;
		
		public static final int NULL_INVALID_ITEMS_LIST = 0xffffffcc;
		
		public static final int NULL_IMAGES_MAP = 0xffffffcb;
		
		public static final int GET_TASK_FAILED = 0xffffffca;
		
		public static final int TASK_ALREADY_LOCKED = 0xffffffc9;
		
		public static final int TASK_ALREADY_UNLOCKED = 0xffffffc8;
		
		public static final int SAVE_LOG_FAILED = 0xffffffc7;
		
		public static final int SAVE_INVALID_ITEMS_FAILED = 0xffffffc6;
		
		public static final int SAVE_IMAGES_FAILED = 0xffffffc5;
	}
}